package admin;

import java.util.Collection;

import javax.ejb.CreateException;
import javax.ejb.EJBLocalHome;
import javax.ejb.FinderException;

public interface AdminHome extends EJBLocalHome {
	
	public Admin create(String firstName,String name, String login,String passwd,String email) throws CreateException;
	public Collection findAllAdmins() throws FinderException;
	public Admin findByPrimaryKey(int id) throws FinderException;
	
}
